package com.whm.hrmanagement.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.whm.hrmanagement.domain.OaSalaryDeduct;
import com.whm.hrmanagement.domain.OaZrsglryda;

/**
 * 工资扣除Mapper接口
 * 
 * @author whm
 * @date 2024-02-09
 */
public interface OaSalaryDeductMapper extends BaseMapper<OaSalaryDeduct>
{
    /**
     * 查询工资扣除
     * 
     * @param id 工资扣除主键
     * @return 工资扣除
     */
    public OaSalaryDeduct selectOaSalaryDeductById(String id);

    /**
     * 查询工资扣除列表
     * 
     * @param oaSalaryDeduct 工资扣除
     * @return 工资扣除集合
     */
    public List<OaSalaryDeduct> selectOaSalaryDeductList(OaSalaryDeduct oaSalaryDeduct);

    /**
     * 新增工资扣除
     * 
     * @param oaSalaryDeduct 工资扣除
     * @return 结果
     */
    public int insertOaSalaryDeduct(OaSalaryDeduct oaSalaryDeduct);

    /**
     * 修改工资扣除
     * 
     * @param oaSalaryDeduct 工资扣除
     * @return 结果
     */
    public int updateOaSalaryDeduct(OaSalaryDeduct oaSalaryDeduct);

    /**
     * 删除工资扣除
     * 
     * @param id 工资扣除主键
     * @return 结果
     */
    public int deleteOaSalaryDeductById(String id);

    /**
     * 批量删除工资扣除
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteOaSalaryDeductByIds(String[] ids);
}
